Ext.define('PJ.view.remindmanagement.View', {
	extend: 'AM.default.DefaultWindowForm',
	alias: ['widget.remindmanagementView'],
	requires: [],

	modal: true,// 开启不允许点击其他组件
	frame: true,
	notEdit: true,
	width: 400,
	height:280,
	layout: 'form',
	isSame: false,
	overflowY:'auto',
//	autoScroll:true,
	initComponent: function(){
    	var me = this;
    	me.items= [{
    		defaults: {
    			labelAlign: 'right',
    			labelWidth: 70,
    			columnWidth: 1,
    			padding:"5 0 0 0",
    			readOnly:true
    		},
    		border: false,
    		xtype: "container",
    		width: 380,
    		height:200,
    		layout: 'column',
    		allowBlank: false,
    		items: [{
    			xtype: 'textfield',
    			fieldLabel: '提醒类型',
    			name: 'remindTypeStr'
    		},{
    			xtype: 'textfield',
    			fieldLabel: '提醒时间',
    			name: 'createDateStr'
    		}, /*{
				xtype: "combo",
				fieldLabel: '提醒类型',
				name: "alertType",
				store: Ext.create("Ext.data.ArrayStore", {
					fields: ['value', 'text'],
					data: [[1, '完善培训班'],[2,'调整名额'],[3,'报名'],[4,'报名审核'],[5,'二维码'],[6,'学员评价']]
				}),
				valueField: 'value',
				displayField: 'text',
				editable: false,
				emptyText: "请选择"
			},*/{
				xtype: 'textarea',
				fieldLabel: '提醒内容',
				name: 'remindValue',
				height: 140
			}]
    	}];
		this.buttons = [{
			text: '关闭',
			scope: this,
			handler:function(button, event){
                var win = button.up('window');
//                win.grid.store.load();
                win.close();
            }
		}];
		this.callParent(arguments);
	}
});